package com.dcbeida.bean;

import java.io.Serializable;

/**
 * Created by hp on 2016/8/10.
 */
public class Drug implements Serializable {

    private int drugid;//药品ID

    private String drugname;//药品名称

    private int shopid;//门店ID

    private String shopname;//门店名称

    private int stock;//库存

    public int getDrugid() {
        return drugid;
    }

    public void setDrugid(int drugid) {
        this.drugid = drugid;
    }

    public String getDrugname() {
        return drugname;
    }

    public void setDrugname(String drugname) {
        this.drugname = drugname;
    }

    public int getShopid() {
        return shopid;
    }

    public void setShopid(int shopid) {
        this.shopid = shopid;
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    @Override
    public boolean equals(Object obj) {
        return obj == null ? false : this.drugid == ((Drug) obj).getDrugid();

    }
}
